import request from '../utils/requestwb';
import qs from 'qs'
import store from '../store/index'

export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};
// 项目信息
export const xmxxList = query => {
    return request({
        url: '/admin-api/lb/zx-api/project-list',
        method: 'get',
        params: query
    });
};
// 项目统计
export const xmxxSum = query => {
    return request({
        url: '/admin-api/lb/zx-api/received-summary',
        method: 'get',
        params: query
    });
};
// 房间信息
export const fjxxList = query => {
    return request({
        url: '/admin-api/lb/zx-api/room-list',
        method: 'get',
        params: query
    });
};
// 登录
export const userLogin = data => {
    return request({
        url: '/userInfo/userLogin',
        method: 'post',
        data
    });
};
